package com.zzl.bonds.ticket.dto;

import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 分公司集团授信额度管理
 *
 * @author sunpp
 * @date 2022-03-01 11:26:07
 */
@Data
@ApidocModel
@SuppressWarnings("javadoc")
public class SubsidiaryQuotaUpdateDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotEmpty(message = "id 不能为空")
    @ApidocModelProperty(description = "主键 uuid", example = "")
    private String id;

    @NotNull(message = "额度上限 不能为空")
    @ApidocModelProperty(description = "额度上限", example = "")
    private Double quotaMaxLimit;

    @ApidocModelProperty(description = "备注")
    private String remark;
}
